import request from '@/utils/request'

export function readRecord(query) {
	return request({
		'url': '/notice/readRecord',
		'method': 'get',
		'params': query
	})
}

export function indexNotice(userId) {
	return request({
		url: '/notice/indexNotice?userId='+userId,
		method: 'get'
	})
}